error analysis numercal methods